Converting between Logarithmic Form and Exponential Form